<?php
class QconfConfig 
{
    const QCONF_WAIT = 0;   // wait if the share memory doesn't have value within the certain time
    const QCONF_NOWAIT = 1; // return immediately if the share momory doesn't have value

    public static $dir = "/qconf/";

    public static function getNodePath($path)
    {
        $path = trim($path, '/');
        $path = QconfConfig::$dir . $path;
        return $path;
    }
	public static $qconfZkHost = array
	(
		"bjcc"   => "10.143.3.25:2181,10.143.3.24:2181,10.143.3.23:2181",
		"bjdt"   => "10.138.252.184:2181,10.138.252.185:2181,10.138.252.186:2181",
		"bjsc"   => "10.121.95.251:2181,10.121.95.252:2181,10.121.95.253:2181",
		"bjt"    => "220.181.127.26:2181,220.181.141.124:2181,220.181.127.104:2181",
		"ccc"    => "10.102.79.207:2181,10.102.79.208:2181,10.102.79.209:2181",
		"ccp"    => "10.102.79.207:2181,10.102.79.208:2181,10.102.79.209:2181",
		"cct"    => "10.102.79.207:2181,10.102.79.208:2181,10.102.79.209:2181",
		"fszt"   => "10.150.94.31:2181,10.150.94.32:2181,10.150.94.33:2181",
		"gzst"   => "10.169.76.3:2181,10.169.76.5:2181,10.169.76.7:2181",
		"hexc"   => "10.153.91.216:2181,10.153.91.191:2181,10.153.91.214:2181",
		"hyb"    => "10.118.99.253:2181,10.118.99.252:2181,10.118.99.251:2181",
		"lyct"   => "10.161.54.21:2181,10.161.54.22:2181,10.161.54.23:2181",
		"nbt"    => "10.123.87.6:2181,10.123.87.7:2181,10.123.87.8:2181",
		"njt"    => "10.116.95.249:2181,10.116.95.250:2181,10.116.95.248:2181",
		"njxt"   => "10.152.95.3:2181,10.152.95.5:2181,10.152.95.7:2181",
		"shct"   => "10.140.112.29:2181,10.140.112.31:2181,10.140.112.33:2181",
		"shgt"   => "10.115.111.253:2181,10.115.111.254:2181,10.115.111.252:2181",
		"shht"   => "10.120.91.251:2181,10.120.91.252:2181,10.120.91.250:2181",
		"shjc"   => "10.125.199.29:2181,10.125.199.30:2181,10.125.199.31:2181",
		"shm"    => "10.130.108.164:2181,10.130.108.165:2181,10.130.108.166:2181",
		"sjlc"   => "10.151.95.32:2181,10.151.95.33:2181,10.151.95.34:2181",
		"tjhc"   => "10.149.94.23:2181,10.149.94.24:2181,10.149.94.25:2181",
		"tyfc"   => "10.137.112.39:2181,10.137.112.40:2181,10.137.112.41:2181",
		"vjc"    => "10.113.103.252:2181,10.113.103.253:2181,10.113.103.251:2181",
		"vnet"	 => "10.117.83.35:2181,10.117.83.36:2181,10.117.83.37:2181",
		"vtc"    => "10.124.87.27:2181,10.124.87.28:2181,10.124.87.29:2181",
		"whjt"   => "10.154.96.220:2181,10.154.96.221:2181,10.154.96.222:2181",
		"zwt"    => "10.108.79.180:2181,10.108.79.181:2181,10.108.79.182:2181",
		"zzbc"   => "10.119.135.253:2181,10.119.135.254:2181,10.119.135.252:2181",
		"corp"   => "10.121.95.64:2181",
		"test"   => "10.121.95.64:2181"
	);
}
?>
